package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Advertisement;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface AdvertisementMapper {
    void deleteByPrimaryKey(Long id);

    void insert(Advertisement record);

    Advertisement selectByPrimaryKey(Long id);

    List<Advertisement> selectAll();

    void updateByPrimaryKey(Advertisement record);

    List<Advertisement> selectForList(QueryObject qo);
}